import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './style.css'
import '@fortawesome/fontawesome-free/css/all.min.css'
import App from './App.vue'
import router from './router'

try {
  console.log('Starting Vue app...')
  const app = createApp(App)
  const pinia = createPinia()
  
  app.use(pinia)
  app.use(router)
  app.mount('#app')
  console.log('Vue app mounted successfully!')
} catch (error) {
  console.error('Error mounting Vue app:', error)
}
